package com.github.rxyor.common.core.exception;

import com.github.rxyor.common.core.enums.KeyValue;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 *<p>
 *
 *</p>
 *
 * @author liuyang
 * @date 2019-05-14 Tue 16:56:00
 * @since 1.0.0
 */
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class ReadFileException extends CoreException {

    static final long serialVersionUID = -7530132881684972853L;

    public ReadFileException() {
    }

    public ReadFileException(String msg) {
        super(msg);
    }

    public ReadFileException(Integer code, String msg) {
        super(code, msg);
    }

    public ReadFileException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public ReadFileException(Integer code, String msg, Throwable cause) {
        super(code, msg, cause);
    }

    public ReadFileException(Throwable e) {
        super(e);
    }

    public ReadFileException(KeyValue<? extends Integer> kv) {
        super(kv);
    }

    public ReadFileException(KeyValue<? extends Integer> kv, String msg) {
        super(kv, msg);
    }

    public ReadFileException(KeyValue<? extends Integer> kv, String msg,
        Throwable cause) {
        super(kv, msg, cause);
    }

    public ReadFileException(KeyValue<? extends Integer> kv, Throwable cause) {
        super(kv, cause);
    }
}
